package org.ssmd3.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.ssmd3.dao.UserMapper;
import org.ssmd3.pojo.User;
import org.ssmd3.service.UserService;

@Service("userService")
public class UserServiceImpl implements UserService {

    @Autowired
    UserMapper userMapper;


    @Override
    public User getUser(String userName) {
        return userMapper.getUser(userName);
    }
}
